package com.qf.smsplatform.strategy.service.impl;

import com.qf.smsplatform.common.model.StandardSubmit;
import com.qf.smsplatform.strategy.service.Strategy;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 24小时的限流策略/流量控制
 */
@Service(value = "limitOneDay")
@Slf4j
public class LimitOneDayStrategy implements Strategy {
    @Override
    public boolean strategy(StandardSubmit submit) {
        log.info("【策略模块】 24小时内的限流策略开始执行！！！");
        return true;
    }
}
